package com.base.exception;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ServiceException extends RuntimeException {
    public ServiceException() {
        super();
    }

    public ServiceException(String msg) {
        super(msg);
        log.warn("[PtException]" + msg);
    }

    @Override
    public String getMessage() {
        return "服务异常";
    }
}
